//==============================================================================
// stable_anim.txt
//==============================================================================

import Construction_defines_anim.txt
import building_damage_defines_anim.txt

//==============================================================================
define VINEA
{
   set hotspot
   {
      version
      {
         Visual Building VineA
      }
   }  
}

//==============================================================================
define ACC1AGE2
{
   set hotspot
   {
      version
      {
         Visual Building Beta E Stable ACC1
Replacetexture building e age3/building e age2
      }
   }
}
//==============================================================================
define ACC2AGE2
{
   set hotspot
   {
      version
      {
         Visual Building Beta E Stable ACC2
Replacetexture building e age3/building e age2
      }
   }
}

//==============================================================================
define ACC3AGE2
{
   set hotspot
   {
      version
      {
         Visual Building Beta E Stable ACC3
Replacetexture building e age3/building e age2
      }
   }
}

//==============================================================================
define ACC4AGE2
{
   set hotspot
   {
      version
      {
         Visual Building Beta E Stable ACC4
Replacetexture building e age3/building e age2
      }
   }
}

//==============================================================================
define ACC5AGE2
{
   set hotspot
   {
      version
      {
         Visual Building Beta E Stable ACC5
Replacetexture building e age3/building e age2
      }
   }
}

//==============================================================================
define ACC6AGE2
{
   set hotspot
   {
      version
      {
         Visual Building Beta E Stable ACC6
Replacetexture building e age3/building e age2
      }
   }
}

//==============================================================================
define ACC7AGE2
{
   set hotspot
   {
      version
      {
         Visual Building Beta E Stable ACC7
Replacetexture building e age3/building e age2
      }
   }
}

//==============================================================================
define ACC8AGE2
{
   set hotspot
   {
      version
      {
         Visual Building Beta E Stable ACC8
Replacetexture building e age3/building e age2
      }
   }
}

//==============================================================================
define ACC9AGE2
{
   set hotspot
   {
      version
      {
         Visual Building Beta E Stable ACC9
Replacetexture building e age3/building e age2
      }
   }
}

//==============================================================================
define ACC10AGE2
{
   set hotspot
   {
      version
      {
         Visual Building Beta E Stable ACC10
Replacetexture building e age3/building e age2
      }
   }
}
//==============================================================================
define ACC1AGE3
{
   set hotspot
   {
      version
      {
         Visual Building Beta E Stable ACC1
Replacetexture building e age2/building e age3
      }
   }
}
//==============================================================================
define ACC2AGE3
{
   set hotspot
   {
      version
      {
         Visual Building Beta E Stable ACC2
Replacetexture building e age2/building e age3
      }
   }
}

//==============================================================================
define ACC3AGE3
{
   set hotspot
   {
      version
      {
         Visual Building Beta E Stable ACC3
Replacetexture building e age2/building e age3
      }
   }
}

//==============================================================================
define ACC4AGE3
{
   set hotspot
   {
      version
      {
         Visual Building Beta E Stable ACC4
Replacetexture building e age2/building e age3
      }
   }
}

//==============================================================================
define ACC5AGE3
{
   set hotspot
   {
      version
      {
         Visual Building Beta E Stable ACC5
Replacetexture building e age2/building e age3
      }
   }
}

//==============================================================================
define ACC6AGE3
{
   set hotspot
   {
      version
      {
         Visual Building Beta E Stable ACC6
Replacetexture building e age2/building e age3
      }
   }
}

//==============================================================================
define ACC7AGE3
{
   set hotspot
   {
      version
      {
         Visual Building Beta E Stable ACC7
Replacetexture building e age2/building e age3
      }
   }
}

//==============================================================================
define ACC8AGE3
{
   set hotspot
   {
      version
      {
         Visual Building Beta E Stable ACC8
Replacetexture building e age2/building e age3
      }
   }
}

//==============================================================================
define ACC9AGE3
{
   set hotspot
   {
      version
      {
         Visual Building Beta E Stable ACC9
Replacetexture building e age2/building e age3
      }
   }
}

//==============================================================================
define ACC10AGE3
{
   set hotspot
   {
      version
      {
         Visual Building Beta E Stable ACC10
Replacetexture building e age2/building e age3
      }
   }
}

//==============================================================================
define ACC1AGE4
{
   set hotspot
   {
      version
      {
         Visual Building Beta E Stable ACC1
Replacetexture building e age2/building e age4
Replacetexture building e age3/building e age4
      }
   }
}
//==============================================================================
define ACC2AGE4
{
   set hotspot
   {
      version
      {
         Visual Building Beta E Stable ACC2
Replacetexture building e age2/building e age4
Replacetexture building e age3/building e age4
      }
   }
}

//==============================================================================
define ACC3AGE4
{
   set hotspot
   {
      version
      {
         Visual Building Beta E Stable ACC3
Replacetexture building e age2/building e age4
Replacetexture building e age3/building e age4
      }
   }
}

//==============================================================================
define ACC4AGE4
{
   set hotspot
   {
      version
      {
         Visual Building Beta E Stable ACC4
Replacetexture building e age2/building e age4
Replacetexture building e age3/building e age4
      }
   }
}

//==============================================================================
define ACC5AGE4
{
   set hotspot
   {
      version
      {
         Visual Building Beta E Stable ACC5
Replacetexture building e age2/building e age4
Replacetexture building e age3/building e age4
      }
   }
}

//==============================================================================
define ACC6AGE4
{
   set hotspot
   {
      version
      {
         Visual Building Beta E Stable ACC6
Replacetexture building e age2/building e age4
Replacetexture building e age3/building e age4
      }
   }
}

//==============================================================================
define ACC7AGE4
{
   set hotspot
   {
      version
      {
         Visual Building Beta E Stable ACC7
Replacetexture building e age2/building e age4
Replacetexture building e age3/building e age4
      }
   }
}

//==============================================================================
define ACC8AGE4
{
   set hotspot
   {
      version
      {
         Visual Building Beta E Stable ACC8
Replacetexture building e age2/building e age4
Replacetexture building e age3/building e age4
      }
   }
}

//==============================================================================
define ACC9AGE4
{
   set hotspot
   {
      version
      {
         Visual Building Beta E Stable ACC9
Replacetexture building e age2/building e age4
Replacetexture building e age3/building e age4
      }
   }
}

//==============================================================================
define ACC10AGE4
{
   set hotspot
   {
      version
      {
         Visual Building Beta E Stable ACC10
Replacetexture building e age2/building e age4
Replacetexture building e age3/building e age4
      }
   }
}

//==============================================================================
anim idle
{
   SetSelector
   {
      TechLogic age 2/age 3/age 4
 //---------------------------Age 2--------------------------------// 
      SetSelector
      {
         ConstructionLogic 0 33 66
         set hotspot
         {
            version
            {
               Visual Building Beta E Stable
replacetexture building e age3/Buillding E Age2
                        connect hotspot ACC1AGE2 hotspot
                        connect hotspot ACC2AGE2 hotspot
                        connect hotspot ACC3AGE2 hotspot
                        connect hotspot ACC4AGE2 hotspot
                        connect hotspot ACC5AGE2 hotspot
                        connect hotspot ACC6AGE2 hotspot
                        connect hotspot ACC7AGE2 hotspot
                        connect hotspot ACC8AGE2 hotspot
                        connect hotspot ACC9AGE2 hotspot
                        connect hotspot ACC10AGE2 hotspot

            }
         }
         set hotspot
         {
            version
            {
               Visual Building Construction Medium A
		         connect attachpoint G_Long_Brick hotspot
		         connect face G_Long_Brick hotspot
		         connect chin G_Medium_Brick hotspot
		         connect leftfoot G_Medium_Brick hotspot
		         connect lefthand G_Small_Brick hotspot
		         connect leftleg G_Small_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
               Visual Building Construction Medium B
		         connect attachpoint G_Long_Brick hotspot
		         connect face G_Long_Brick hotspot
		         connect chin G_Medium_Brick hotspot
		         connect leftfoot G_Medium_Brick hotspot
		         connect lefthand G_Small_Brick hotspot
		         connect leftleg G_Small_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
               Visual Building G ConstructionStable
		         connect attachpoint G_Long_Brick hotspot
		         connect face G_Long_Brick hotspot
		         connect chin G_Medium_Brick hotspot
		         connect leftfoot G_Medium_Brick hotspot
		         connect lefthand G_Small_Brick hotspot
		         connect leftleg G_Small_Brick hotspot
            }
         }
      }
 //---------------------------Age 3--------------------------------// 
      SetSelector
      {
         ConstructionLogic 0 33 66
         set hotspot
         {
            version
            {
         Visual Building Beta E Stable
replacetexture building e age2/building e age3
                        connect hotspot ACC1AGE3 hotspot
                        connect hotspot ACC2AGE3 hotspot
                        connect hotspot ACC3AGE3 hotspot
                        connect hotspot ACC4AGE3 hotspot
                        connect hotspot ACC5AGE3 hotspot
                        connect hotspot ACC6AGE3 hotspot
                        connect hotspot ACC7AGE3 hotspot
                        connect hotspot ACC8AGE3 hotspot
                        connect hotspot ACC9AGE3 hotspot
                        connect hotspot ACC10AGE3 hotspot

            }
         }
         set hotspot
         {
            version
            {
               Visual Building Construction Medium A
		         connect attachpoint G_Long_Brick hotspot
		         connect face G_Long_Brick hotspot
		         connect chin G_Medium_Brick hotspot
		         connect leftfoot G_Medium_Brick hotspot
		         connect lefthand G_Small_Brick hotspot
		         connect leftleg G_Small_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
               Visual Building Construction Medium B
		         connect attachpoint G_Long_Brick hotspot
		         connect face G_Long_Brick hotspot
		         connect chin G_Medium_Brick hotspot
		         connect leftfoot G_Medium_Brick hotspot
		         connect lefthand G_Small_Brick hotspot
		         connect leftleg G_Small_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
               Visual Building G ConstructionStable
		         connect attachpoint G_Long_Brick hotspot
		         connect face G_Long_Brick hotspot
		         connect chin G_Medium_Brick hotspot
		         connect leftfoot G_Medium_Brick hotspot
		         connect lefthand G_Small_Brick hotspot
		         connect leftleg G_Small_Brick hotspot
            }
         }
      }
    //---------------------------Age 4--------------------------------// 
      SetSelector
      {
         ConstructionLogic 0 33 66
         set hotspot
         {
            version
            {
         Visual Building Beta E Stable
replacetexture building e age2/building e age4
                        connect hotspot ACC1AGE4 hotspot
                        connect hotspot ACC2AGE4 hotspot
                        connect hotspot ACC3AGE4 hotspot
                        connect hotspot ACC4AGE4 hotspot
                        connect hotspot ACC5AGE4 hotspot
                        connect hotspot ACC6AGE4 hotspot
                        connect hotspot ACC7AGE4 hotspot
                        connect hotspot ACC8AGE4 hotspot
                        connect hotspot ACC9AGE4 hotspot
                        connect hotspot ACC10AGE4 hotspot

            }
         }
         set hotspot
         {
            version
            {
               Visual Building Construction Medium A
		         connect attachpoint G_Long_Brick hotspot
		         connect face G_Long_Brick hotspot
		         connect chin G_Medium_Brick hotspot
		         connect leftfoot G_Medium_Brick hotspot
		         connect lefthand G_Small_Brick hotspot
		         connect leftleg G_Small_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
               Visual Building Construction Medium B
		         connect attachpoint G_Long_Brick hotspot
		         connect face G_Long_Brick hotspot
		         connect chin G_Medium_Brick hotspot
		         connect leftfoot G_Medium_Brick hotspot
		         connect lefthand G_Small_Brick hotspot
		         connect leftleg G_Small_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
               Visual Building G ConstructionStable
		         connect attachpoint G_Long_Brick hotspot
		         connect face G_Long_Brick hotspot
		         connect chin G_Medium_Brick hotspot
		         connect leftfoot G_Medium_Brick hotspot
		         connect lefthand G_Small_Brick hotspot
		         connect leftleg G_Small_Brick hotspot
            }
         }
      }
   }
}

//==============================================================================
anim Death
{
   SetSelector
   {
      TechLogic age 2/age 3/age 4
 //---------------------------Age 2--------------------------------// 
      SetSelector
      {
         ConstructionLogic 0 33 66
         set hotspot
         {
            version
            {
               Visual Building Beta E Stable
replactexture building e age3/building e age2
                        connect hotspot ACC1AGE2 hotspot
                        connect hotspot ACC2AGE2 hotspot
                        connect hotspot ACC3AGE2 hotspot
                        connect hotspot ACC4AGE2 hotspot
                        connect hotspot ACC5AGE2 hotspot
                        connect hotspot ACC6AGE2 hotspot
                        connect hotspot ACC7AGE2 hotspot
                        connect hotspot ACC8AGE2 hotspot
                        connect hotspot ACC9AGE2 hotspot
                        connect hotspot ACC10AGE2 hotspot
               connect Smoke0 Dust hotspot
					connect Smoke1 Dust hotspot
					connect Smoke2 Dust hotspot
					connect Smoke3 Dust hotspot

            }
         }
         set hotspot
         {
            version
            {
               Visual Building Construction Medium A
		         connect attachpoint G_Long_Brick hotspot
		         connect face G_Long_Brick hotspot
		         connect chin G_Medium_Brick hotspot
		         connect leftfoot G_Medium_Brick hotspot
		         connect lefthand G_Small_Brick hotspot
		         connect leftleg G_Small_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
               Visual Building Construction Medium B
		         connect attachpoint G_Long_Brick hotspot
		         connect face G_Long_Brick hotspot
		         connect chin G_Medium_Brick hotspot
		         connect leftfoot G_Medium_Brick hotspot
		         connect lefthand G_Small_Brick hotspot
		         connect leftleg G_Small_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
               Visual Building G ConstructionStable
		         connect attachpoint G_Long_Brick hotspot
		         connect face G_Long_Brick hotspot
		         connect chin G_Medium_Brick hotspot
		         connect leftfoot G_Medium_Brick hotspot
		         connect lefthand G_Small_Brick hotspot
		         connect leftleg G_Small_Brick hotspot
            }
         }
      }
 //---------------------------Age 3--------------------------------// 
      SetSelector
      {
         ConstructionLogic 0 33 66
         set hotspot
         {
            version
            {
         Visual Building Beta E Stable
replactexture building e age2/building e age3
                        connect hotspot ACC1AGE3 hotspot
                        connect hotspot ACC2AGE3 hotspot
                        connect hotspot ACC3AGE3 hotspot
                        connect hotspot ACC4AGE3 hotspot
                        connect hotspot ACC5AGE3 hotspot
                        connect hotspot ACC6AGE3 hotspot
                        connect hotspot ACC7AGE3 hotspot
                        connect hotspot ACC8AGE3 hotspot
                        connect hotspot ACC9AGE3 hotspot
                        connect hotspot ACC10AGE3 hotspot
               connect Smoke0 Dust hotspot
					connect Smoke1 Dust hotspot
					connect Smoke2 Dust hotspot
					connect Smoke3 Dust hotspot

            }
         }
         set hotspot
         {
            version
            {
               Visual Building Construction Medium A
		         connect attachpoint G_Long_Brick hotspot
		         connect face G_Long_Brick hotspot
		         connect chin G_Medium_Brick hotspot
		         connect leftfoot G_Medium_Brick hotspot
		         connect lefthand G_Small_Brick hotspot
		         connect leftleg G_Small_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
               Visual Building Construction Medium B
		         connect attachpoint G_Long_Brick hotspot
		         connect face G_Long_Brick hotspot
		         connect chin G_Medium_Brick hotspot
		         connect leftfoot G_Medium_Brick hotspot
		         connect lefthand G_Small_Brick hotspot
		         connect leftleg G_Small_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
               Visual Building G ConstructionStable
		         connect attachpoint G_Long_Brick hotspot
		         connect face G_Long_Brick hotspot
		         connect chin G_Medium_Brick hotspot
		         connect leftfoot G_Medium_Brick hotspot
		         connect lefthand G_Small_Brick hotspot
		         connect leftleg G_Small_Brick hotspot
            }
         }
      }
    //---------------------------Age 4--------------------------------// 
      SetSelector
      {
         ConstructionLogic 0 33 66
         set hotspot
         {
            version
            {
         Visual Building Beta E Stable
replactexture building e age2/building e age4
                        connect hotspot ACC1AGE4 hotspot
                        connect hotspot ACC2AGE4 hotspot
                        connect hotspot ACC3AGE4 hotspot
                        connect hotspot ACC4AGE4 hotspot
                        connect hotspot ACC5AGE4 hotspot
                        connect hotspot ACC6AGE4 hotspot
                        connect hotspot ACC7AGE4 hotspot
                        connect hotspot ACC8AGE4 hotspot
                        connect hotspot ACC9AGE4 hotspot
                        connect hotspot ACC10AGE4 hotspot
               connect Smoke0 Dust hotspot
					connect Smoke1 Dust hotspot
					connect Smoke2 Dust hotspot
					connect Smoke3 Dust hotspot

            }
         }
         set hotspot
         {
            version
            {
               Visual Building Construction Medium A
		         connect attachpoint G_Long_Brick hotspot
		         connect face G_Long_Brick hotspot
		         connect chin G_Medium_Brick hotspot
		         connect leftfoot G_Medium_Brick hotspot
		         connect lefthand G_Small_Brick hotspot
		         connect leftleg G_Small_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
               Visual Building Construction Medium B
		         connect attachpoint G_Long_Brick hotspot
		         connect face G_Long_Brick hotspot
		         connect chin G_Medium_Brick hotspot
		         connect leftfoot G_Medium_Brick hotspot
		         connect lefthand G_Small_Brick hotspot
		         connect leftleg G_Small_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
               Visual Building G ConstructionStable
		         connect attachpoint G_Long_Brick hotspot
		         connect face G_Long_Brick hotspot
		         connect chin G_Medium_Brick hotspot
		         connect leftfoot G_Medium_Brick hotspot
		         connect lefthand G_Small_Brick hotspot
		         connect leftleg G_Small_Brick hotspot
            }
         }
      }
   }
}
